﻿using System;
using System.Windows.Controls;

using Gonte.Wpf.Controls.ViewModel;

using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace MyWpfControlsTest
{
    [TestClass()]
    public class ViewModelBaseTest
    {
        private TestContext testContextInstance;

        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        #region Additional test attributes
        // 
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion

        public class TestViewModel
            : ViewModelBase
        {

            public TestViewModel()
                : base(null, false)
            {
            }

            public override string Label
            {
                get
                {
                    throw new System.NotImplementedException();
                }
                set
                {
                    throw new System.NotImplementedException();
                }
            }

            public override object Model
            {
                get
                {
                    throw new System.NotImplementedException();
                }
                set
                {
                    throw new System.NotImplementedException();
                }
            }

            public override ContextMenu CreateContextMenu()
            {
                throw new NotImplementedException();
            }

            public override void OnPropertyChanged(string propertyName, object oldValue)
            {
                throw new System.NotImplementedException();
            }

            public override int CompareTo(object @object)
            {
                throw new System.NotImplementedException();
            }
        }

        [TestMethod()]
        public void AddChildTest()
        {
            ViewModelBase viewModel = new TestViewModel();

            
        }
    }
}
